package com.example.exam.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-03-28
 */
@TableName("exam.user_have_certificate")
public class UserHaveCertificate implements Serializable {


    @TableId("user_id")
    private Integer userId;

    @TableField("certificate_id")
    private Integer certificateId;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCertificateId() {
        return certificateId;
    }

    public void setCertificateId(Integer certificateId) {
        this.certificateId = certificateId;
    }

    @Override
    public String toString() {
        return "Userhavecertificate{" +
                "userId=" + userId +
                ", certificateId=" + certificateId +
                "}";
    }
}
